ComponentOne Bitmap for UWP
SetUnorderedAccessViews(Int32,UnorderedAccessView[],Int32[]) Method

C1.UWP.DX Assembly > C1.Util.DX.Direct3D11 Namespace > ComputeShaderStage Class > SetUnorderedAccessViews Method : SetUnorderedAccessViews(Int32,UnorderedAccessView[],Int32[]) Method
Index of the first element in the zero-based array to begin setting.
A reference to an array of UnorderedAccessView references to be set by the method.
An array of Append/Consume buffer offsets. A value of -1 indicates the current offset should be kept. Any other values set the hidden counter for that Appendable/Consumable UAV. pUAVInitialCounts is only relevant for UAVs which have the UnorderedAccessViewBufferFlags flag, otherwise the argument is ignored.
Sets an array of views for an unordered resource.
Syntax
'Declaration
 
Public Overloads Sub SetUnorderedAccessViews( _
   ByVal startSlot As System.Integer, _
   ByVal unorderedAccessViews() As UnorderedAccessView, _
   ByVal uavInitialCounts() As System.Integer _
) 
public void SetUnorderedAccessViews( 
   System.int startSlot,
   UnorderedAccessView[] unorderedAccessViews,
   System.int[] uavInitialCounts
)

Parameters

startSlot
Index of the first element in the zero-based array to begin setting.
unorderedAccessViews
A reference to an array of UnorderedAccessView references to be set by the method.
uavInitialCounts
An array of Append/Consume buffer offsets. A value of -1 indicates the current offset should be kept. Any other values set the hidden counter for that Appendable/Consumable UAV. pUAVInitialCounts is only relevant for UAVs which have the UnorderedAccessViewBufferFlags flag, otherwise the argument is ignored.
See Also

Reference

ComputeShaderStage Class
ComputeShaderStage Members
Overload List